package com.foreverwin.jzymes.production.inspect.service;

import com.foreverwin.jzymes.common.domain.CarrierScanLog;

import java.util.Map;

public interface IInspectAdviceService{

    /**
     * 全检扫码检查
     *
     * @param carrierScanLog
     */
    public void inspectCarrier( CarrierScanLog carrierScanLog );

    /**
     * 检查全检不良拦截报警
     *
     * @param carrierScanLog
     */
    public void checkOpenNcDataOnInspect( CarrierScanLog carrierScanLog );

    /**
     * 保存全检报警记录
     *
     * @param site
     * @param carrier
     * @param alarmMessage
     */
    public void saveInspectAlarmLog( String site, String carrier, String resrce, String alarmMessage );

    /**
     * 修改全检报警记录
     *
     * @param site
     * @param carrier
     */
    public void updateInspectAlarmLog( String site, String carrier, String resrce );

    /**
     * 记录全检不良
     *
     * @param jsonMap
     */
    public void recordCarrierNC( Map<String,Object> jsonMap );

    /**
     * 处置全检不良
     *
     * @param jsonMap
     */
    public void disposeCarrierNC( Map<String,Object> jsonMap );
}
